package com.example.petproject.mapper;

import com.example.petproject.entity.model.PmsSku;
import com.example.petproject.entity.vo.CartProductVO;

public interface PmsSkuMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(PmsSku record);

    PmsSku selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PmsSku record);


    /**
     * 根据商品的skuId
     * @param skuId
     * @return
     */
    CartProductVO selectCartProductVOBYskuId(Long skuId);
}